//
//  AppDelegate.m
//  Sina.Weibo.OC
//
//  Created by Holfioo on 15/9/3.
//  Copyright © 2015年 Holfioo. All rights reserved.
//

#import "AppDelegate.h"
#import "DHMainViewController.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    // 实例化窗体并显示。
    DHMainViewController *mvc = [[DHMainViewController alloc] init];
    self.window.rootViewController = mvc;
    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
    [self layoutViewController];
    return YES;
}

- (void)layoutViewController {
    // 设置初始颜色
    [UINavigationBar appearance].tintColor = [UIColor orangeColor];
    [UITabBar appearance].tintColor = [UIColor orangeColor];
}

@end
